package org.example.platform.design.waiguan;

public class JiJin {
    Gu gu;
    Gu1 gu1;
    Gu2 gu2;

    public JiJin(){
        gu = new Gu();
        gu1 = new Gu1();
        gu2 = new Gu2();
    }

    public void buy(){
        gu.buy();
        gu1.buy();
        gu2.buy();
    }

    public void shell(){
        gu.shell();
        gu1.shell();
        gu2.shell();
    }

}
